#include "QDivaAppController.h"

class QxDivaController :
	public QDivaAppController
{
	Q_OBJECT
public:
	QxDivaController(void);
	virtual ~QxDivaController(void);
	//////////////////////////////////////////////////////////////////////////
	// To make the methods invokable when replaying, Q_INVOKABLE macro is needed.
	Q_INVOKABLE virtual void mouseLeftButtonPressed(int mouseX, int mouseY);
	Q_INVOKABLE virtual void mouseLeftButtonReleased(int mouseX, int mouseY);
	Q_INVOKABLE virtual void mouseRightButtonPressed(int mouseX, int mouseY);
	Q_INVOKABLE virtual void mouseRightButtonReleased(int mouseX, int mouseY);
	Q_INVOKABLE virtual void mouseMoving(int mouseX, int mouseY);
	Q_INVOKABLE virtual void keyboardPressed(int key);
	Q_INVOKABLE virtual void keyboardReleased(int key);
	Q_INVOKABLE virtual void mouseWheelRotated(int delta);
	Q_INVOKABLE virtual void changeBackground( const QString& newBackground );
};
